home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Headers / Universal Headers 2.0.1f / Strings.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-22  |  1.1 KB  |  61 lines  |  [TEXT/MMCC]

  1. /*
  2.      File:        Strings.h
  3.  
  4.      Contains:    Pascal <-> C String Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Package:    Universal Interfaces 2.0 in “MPW Latest” on ETO #17
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. */
  19.  
  20. #ifndef __STRINGS__
  21. #define __STRINGS__
  22.  
  23.  
  24. #ifndef __TYPES__
  25. #include <Types.h>
  26. #endif
  27. /*    #include <ConditionalMacros.h>                                */
  28.  
  29. #ifdef __cplusplus
  30. extern "C" {
  31. #endif
  32.  
  33. #if PRAGMA_ALIGN_SUPPORTED
  34. #pragma options align=mac68k
  35. #endif
  36.  
  37. #if PRAGMA_IMPORT_SUPPORTED
  38. #pragma import on
  39. #endif
  40.  
  41. #if OLDROUTINELOCATIONS
  42. extern StringPtr c2pstr(char *aStr);
  43. extern pascal StringPtr C2PStr(Ptr cString);
  44. extern char *p2cstr(StringPtr aStr);
  45. extern pascal Ptr P2CStr(StringPtr pString);
  46. #endif
  47.  
  48. #if PRAGMA_IMPORT_SUPPORTED
  49. #pragma import off
  50. #endif
  51.  
  52. #if PRAGMA_ALIGN_SUPPORTED
  53. #pragma options align=reset
  54. #endif
  55.  
  56. #ifdef __cplusplus
  57. }
  58. #endif
  59.  
  60. #endif /* __STRINGS__ */
  61.